<div class="row">
    <div class="col-xs-6 col-sm-3">
        <?php echo ws_load_content('contents/account_sidebar'); ?>
    </div>
    <div class="col-xs-6 col-sm-9">
        <div class="page-header">
            <h4>个人信息</h4>
        </div>
        <div class="">
            <div class="row">
                <div class="col-sm-3">
                    <img class="thumbnail img-responsive img-rounded"
                         src="<?php echo $this->user->get_Avatar(170, 150); ?>" alt=""/>
                </div>
                <div class="col-sm-9">
                    <div class="">
                        <table class="table table-striped">
                            <tr>
                                <td>用户名</td>
                                <td><?php echo $this->user->get_value('user_name'); ?></td>
                            </tr>
                            <tr>
                                <td>注册时间</td>
                                <td>
                                    <?php echo date('Y年m月d日 H时i分s秒', strtotime($this->user->get_value('user_created'))); ?>  
                                </td>
                            </tr>
                            <tr>
                                <td>最后登陆</td>
                                <td>
                                    <?php echo date('Y年m月d日 H时i分s秒', strtotime($this->user->get_value('user_lastLogin'))); ?>
                                </td>
                            </tr>
                            <tr>
                                <td>电子邮箱激活状态</td>
                                <td>
                                    <?php if ($this->user->get_value('user_emailConfirm')) { ?>
                                        <p class="text-success">未激活</p>
                                    <?php } else { ?>
                                        <p class="text-danger">已激活</p>
                                    <?php } ?>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <hr/>
                </div>
            </div>
        </div>
    </div>
</div>